<?php
ob_start();
session_start();
define( '_MAXSITE', 1 );
define('BASE_PATH', dirname(__FILE__) );
define( 'DS', DIRECTORY_SEPARATOR );
$globals_test = @ini_get('register_globals');
if ( isset($globals_test) && empty($globals_test) ) {
$types_to_register = array('GET', 'POST', 'COOKIE', 'SESSION', 'SERVER');
foreach ($types_to_register as $type) {
$arr = @${'_' . $type};
if (@count($arr) > 0)
extract($arr, EXTR_SKIP);
}
}
require_once("mainfile.php");
$PHP_SELF = "index.php";
GETMODULE($_GET[name],$_GET[file]);
if($name!="") { 
	include ("".$MODPATHFILE."");
} ?>